import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/element.js'
//导入全局样式
import './assets/css/global.css'
//导入字体图标
import './assets/fonts/iconfont.css'
//导入axios
import axios from 'axios'
//配置axios的请求根路径
axios.defaults.baseURL = 'https://www.liulongbin.top:8888/api/private/v1/'
//挂载到vue的原型对象上这样每个组件都能用到axios
Vue.prototype.$http = axios

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
